/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.acq.entity.fammer;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 农户信息Entity
 * @author lj
 * @version 2018-04-12
 */
public class AcqFarmer extends DataEntity<AcqFarmer> {
	
	private static final long serialVersionUID = 1L;
	private String area;		// 行政区域
	private String areaName;
	private String name;		// 户主名称
	private String familys;		// 家庭人口
	private String address;		// 家庭住址
	private String mobile;		// 联系电话
	private String poor;		// 是否贫困户(0:不是,1:是)
	private String idCard;//身份证号
	private String gps;//地理定位
	private String uid;//用与查询条件
	
	
	
	
	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getGps() {
		return gps;
	}

	public void setGps(String gps) {
		this.gps = gps;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public AcqFarmer() {
		super();
	}

	public AcqFarmer(String id){
		super(id);
	}

	@Length(min=0, max=64, message="行政区域长度必须介于 0 和 64 之间")
	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}
	
	@Length(min=0, max=32, message="户主名称长度必须介于 0 和 32 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=4, message="家庭人口长度必须介于 0 和 4 之间")
	public String getFamilys() {
		return familys;
	}

	public void setFamilys(String familys) {
		this.familys = familys;
	}
	
	@Length(min=0, max=64, message="家庭住址长度必须介于 0 和 64 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=0, max=16, message="联系电话长度必须介于 0 和 16 之间")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	@Length(min=0, max=4, message="是否贫困户(0:不是,1:是)长度必须介于 0 和 4 之间")
	public String getPoor() {
		return poor;
	}

	public void setPoor(String poor) {
		this.poor = poor;
	}
	
}